package com.kehongborui.spring.dao;

import com.kehongborui.spring.entity.User;

/**
 * 用户相关的dao
 */
public interface UserDao {
    // create,delete,update,select TODO

    /**
     * 根据用户名查找用户
     * @param username
     * @return
     */
    User findByUsername(String username);
}
